#include "EventLoopThreadPool.h"
#include "EventLoopThread.h"

/**
 * 基于负载均衡的选择 subloop
 */
class LoadBalanceEventThreadPool : public EventLoopThreadPool
{
public:
   LoadBalanceEventThreadPool(EventLoop *base, int numThreads, const std::string& name);
   ~LoadBalanceEventThreadPool() = default;
   EventLoop* getNextLoop() override;
};